package cn.myfirefly.moming.common.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "mm_position")
public class MMPosition extends BasePO implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 785262397279014160L;
	private Integer positionSn;
	private String positionCode;
	private String positionName;
	private String status;
	private String positionDesc;

	public MMPosition() {
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "position_sn", unique = true, nullable = false)
	public Integer getPositionSn() {
		return this.positionSn;
	}

	public void setPositionSn(Integer positionSn) {
		this.positionSn = positionSn;
	}

	@Column(name = "position_name", length = 100)
	public String getPositionName() {
		return this.positionName;
	}
	
	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}
	
	@Column(name = "position_code", length = 64)
	public String getPositionCode() {
		return this.positionCode;
	}

	public void setPositionCode(String positionCode) {
		this.positionCode = positionCode;
	}

	@Column(name = "position_desc", length = 1000)
	public String getPositionDesc() {
		return this.positionDesc;
	}

	public void setPositionDesc(String positionDesc) {
		this.positionDesc = positionDesc;
	}

	@Column(name = "status", length = 2)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
